Release 10.1A: OpenEdge Development:
Progress 4GL Reference
Keyboard events
Progress makes all keyboard actions available as events that you can specify by either key label or key function. You can write triggers for these keyboard events, and associate these triggers with any field-level widget that receives input focus. For a complete list of key label and key function names, and information on how to use them, see the chapter on handling user input in OpenEdge Development: Programming Interfaces .
Keyboard events have default effects depending on the widget that receives the event. For example, the “A” key label event displays an uppercase “A” in a fill-in or editor widget, but has no default effect when applied to a button. Progress organizes some key function events into several classes that have default effects on selected groups of widgets. Progress also provides special keyboard events to write default triggers on classes of keys. You can use these default events to write a trigger for all keys in a particular class for which you have not defined a key label or key function event trigger.
Main classes of key function events
Progress supports three main classes of key function events:
- Universal key function events — These events apply to all user-interface widgets except menus, submenus, and menu items.
- Navigation key function events — These events apply to those field-level widgets that can receive focus.
- Field editing key function events — These events apply to fill-ins and browse cells.
Table 92 describes universal key function events.
Table 93 describes navigation key function events.
Table 94 describes field editing key function events.
Default keyboard events
Progress provides two keyboard events that you can use to write default triggers. Table 95 describes these events.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |